<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
  
  <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
  <title>PLAYER</title>

  
</head><body>
<?php $dbname = 'mysql';

if (!mysql_connect('localhost', 'root', '')) {
    echo 'Could not connect to mysql';
    exit;
}
@mysql_select_db($dbname) or die( "Unable to select database");
$sql = "SELECT * FROM players where id=1";
$result = mysql_query($sql);

if (!$result) {
    echo "DB Error, could not list tables\n";
    echo 'MySQL Error: ' . mysql_error();
    exit;
}

$row = mysql_fetch_array($result)

?>
<table style="text-align: left; width: 800px; height: 600px; margin-left: auto; margin-right: auto; font-family: Ubuntu Mono;" border="0" cellpadding="4" cellspacing="4">

  <tbody>
    <tr>
      <td style="vertical-align: top; height: 100px;">
      <div style="text-align: center;"> </div>
      <table style="text-align: left; width: 100%; height: 100%; margin-left: auto; margin-right: auto; background-color: white;" border="1" cellpadding="4" cellspacing="0">
        <tbody>
          <tr>
            <td style="vertical-align: top; width: 50%; height: 100%;">
            <div style="text-align: center;"> </div>
            <table style="text-align: left; width: 100%; height: 100%;" border="0" cellpadding="4" cellspacing="4">
              <tbody>
                <tr align="center">
                  <th colspan="2" rowspan="1" style="vertical-align: top; background-color: rgb(255, 204, 0);">DANE
ZAWODNIKA<br>
                  </th>
                </tr>
                <tr>
                  <td colspan="1" rowspan="3" style="vertical-align: top; width: 50%;">Zdj&#281;cie<br>
                  </td>
                  <td style="vertical-align: top; width: 50%;"><?php echo"<b>$row[1]</b>"; mysql_free_result($result);?><br>
                  </td>
                </tr>
                <tr>
                  <td style="vertical-align: top; width: 50%;">Wiek: <br>
                  </td>
                </tr>
                <tr>
                  <td style="vertical-align: top;">Wzrost:<br>
                  </td>
                </tr>
                <tr>
                  <td style="vertical-align: top;">Rozegranych sezonów:<br>
                  </td>
                  <td style="vertical-align: top;"><br>
                  </td>
                </tr>
                <tr>
                  <td style="vertical-align: top;">Aktualna dru&#380;yna:<br>
                  </td>
                  <td style="vertical-align: top;"><br>
                  </td>
                </tr>
                <tr>
                  <td style="vertical-align: top;">Poprzednie dru&#380;yny:<br>
                  </td>
                  <td style="vertical-align: top;"><br>
                  </td>
                </tr>
              </tbody>
            </table>
            <br>
            </td>
            <td style="vertical-align: top; width: 50%;">
            <table style="text-align: left; width: 100%; height: 100%;" border="0" cellpadding="4" cellspacing="4">
              <tbody>
                <tr align="center">
                  <td colspan="3" rowspan="1" style="vertical-align: top; height: 14%; background-color: rgb(255, 204, 0);"><span style="font-weight: bold;">STATYSTYKI(AKTUALNY SEZON)</span><br>
                  </td>
                </tr>
                <tr>
                  <td style="vertical-align: top; text-align: center; width: 33%;">Punkty:<br>
                  </td>
                  <td style="vertical-align: top; text-align: center; width: 33%;">Zbiórki:<br>
                  </td>
                  <td style="vertical-align: top; text-align: center; width: 33%;">Asysty:<br>
                  </td>
                </tr>
                <tr>
                  <td style="vertical-align: top; text-align: center; font-weight: bold;"><big><big>33<br>
                  </big></big></td>
                  <td style="vertical-align: top; text-align: center; font-weight: bold;"><big><big>12<br>
                  </big></big></td>
                  <td style="vertical-align: top; text-align: center; font-weight: bold;"><big><big>3<br>
                  </big></big></td>
                </tr>
                <tr>
                  <td style="vertical-align: top; text-align: center;">Skuteczno&#347;&#263;:<br>
                  </td>
                  <td style="vertical-align: top; text-align: center;">Eval:<br>
                  </td>
                  <td style="vertical-align: top;"><br>
                  </td>
                </tr>
                <tr>
                  <td style="vertical-align: top; text-align: center; font-weight: bold;"><big><big>43.3%<br>
                  </big></big></td>
                  <td style="vertical-align: top; text-align: center; font-weight: bold;"><big><big>22<br>
                  </big></big></td>
                  <td style="vertical-align: top;"><br>
                  </td>
                </tr>
              </tbody>
            </table>
            </td>
          </tr>
        </tbody>
      </table>
      <br>
      </td>
    </tr>
    <tr>
      <td style="vertical-align: top;">
      <table style="text-align: left; width: 100%; height: 100%;" border="1" cellpadding="1" cellspacing="0">
        <tbody>
          <tr style="font-weight: bold;" align="center">
            <td style="vertical-align: top; height: 20%; background-color: rgb(255, 204, 0);">SZCZEGÓ&#321;OWE
STATYSTYKI(AKTUALNY SEZON)<br>
            </td>
          </tr>
          <tr>
            <td style="vertical-align: top;"><br>
            </td>
          </tr>
        </tbody>
      </table>
      <br>
      </td>
    </tr>
    <tr>
      <td style="vertical-align: top;">
      <table style="text-align: left; width: 100%; height: 100%;" border="1" cellpadding="1" cellspacing="0">
        <tbody>
          <tr style="font-weight: bold;" align="center">
            <td style="vertical-align: top; height: 20%; background-color: rgb(255, 204, 0);">SZCZEGÓ&#321;OWE
STATYSTYKI(WSZYSTKIE SEZONY)<br>
            </td>
          </tr>
          <tr>
            <td style="vertical-align: top;"><br>
            </td>
          </tr>
        </tbody>
      </table>
      <br>
      </td>
    </tr>
    <tr>
      <td style="vertical-align: top;">
      <table style="text-align: left; width: 100%;" border="1" cellpadding="4" cellspacing="0">
        <tbody>
          <tr>
            <td style="vertical-align: top; text-align: center; white-space: nowrap; width: 50%; background-color: rgb(255, 204, 0);"><span style="font-weight: bold;">WYKRESY</span><br>
            </td>
            <td style="vertical-align: top; text-align: center; width: 50%; background-color: rgb(255, 204, 0);"><span style="font-weight: bold;">PORÓWNAJ</span><br>
            </td>
          </tr>
        </tbody>
      </table>
      <br>
      </td>
    </tr>
  </tbody>
</table>

<br style="font-family: Ubuntu Mono;">

<br>

</body></html>